import request from '@/utils/request'

// 列表
export function selectShopMarketingRank(query) {
  return request({
    url: '/marketing/BiShopMarketingDwd/selectShopMarketingRank',
    method: 'get',
    params: query
  })
}
// 趋势图
export function selectShopStatistics(query) {
  return request({
    url: '/marketing/BiShopMarketingDwd/selectShopStatistics',
    method: 'get',
    params: query
  })
}
// 查询店铺运营数据日报表列表
export function listBiShopMarketingDwd(query) {
  return request({
    url: '/marketing/BiShopMarketingDwd/list',
    method: 'get',
    params: query
  })
}

// 查询店铺运营数据日报表详细
export function getBiShopMarketingDwd(id) {
  return request({
    url: '/marketing/BiShopMarketingDwd/' + id,
    method: 'get'
  })
}

// 新增店铺运营数据日报表
export function addBiShopMarketingDwd(data) {
  return request({
    url: '/marketing/BiShopMarketingDwd',
    method: 'post',
    data: data
  })
}

// 修改店铺运营数据日报表
export function updateBiShopMarketingDwd(data) {
  return request({
    url: '/marketing/BiShopMarketingDwd',
    method: 'put',
    data: data
  })
}

// 删除店铺运营数据日报表
export function delBiShopMarketingDwd(id) {
  return request({
    url: '/marketing/BiShopMarketingDwd/' + id,
    method: 'delete'
  })
}
